package com.paradogs.gs.modules.role;

import com.paradogs.common._cfg.Cfg;
import com.paradogs.gs.misc.DBSingleRowManager;
import com.paradogs.gs.misc.annotations.GameManager;
import com.paradogs.gs.modules.attr.AttrBonus;
import com.paradogs.gs.modules.attr.AttrType;
import com.paradogs.gs.db.Role;
import com.paradogs.gs.modules.role.dao.RoleDao;

import java.util.Map;

/**
 * @author: yumi
 * @date: 2024/10/23  23:04
 * @Description: TODO
 */
@GameManager
public class RoleMgr extends DBSingleRowManager<RoleDao, Role> {

    @Override
    public void onInitialization(Role data) {
        data.setLevel(1);
        data.setNickName("无名者" + data.getUid());
        data.setExp(0L);
    }
}
